<?php

class SectionController extends CoreController
{
	public function actionList()
	{
        $section_code = Yii::app()->request->getParam('section_code');
        //通过section表获取section配置
        $section_info = Section::model()->getFindSection($section_code);
        $type = $section_info->type;
        //获取列表
        $history_info = SectionHistory::model()->getFindHistory($section_code,$type);
		$this->render('list',array('history_info'=>$history_info));
	}

}